﻿@model List<ScrumTracker.Models.Story>
@foreach (var story in Model)
{ 
    <li class="backlog_story" issue_id="@story.IssueId" style="display: block; height: 128px; position: relative;">
        <span style="position: absolute; top: 4px; left: 4px;">@story.IssueId @story.Description
        </span><span style="position: absolute; top: 4px; right: 4px;">Priority:
            @story.Priority Effort: @(story.Effort != null ? story.Effort.ToString() : "n/a" )</span><span style="position: absolute; bottom: 4px; left: 4px;">Tasks(@story.Tasks.Count) Attachments(@story.Attachments.Count) </span><span style="position: absolute; bottom: 4px; right: 4px;"><a rel="add_to_sprint" href="#">Include</a> <a rel="edit_story" href="@Url.Action("Edit", "Stories", new { @id = story.IssueId })">Edit</a> <a href="#">Delete</a></span>
    </li>
}
